Retrieve cost-related drop-down values and concepts

Purpose

To support the main calls for managing cost definitions, it is necessary to get the values of some drop-down lists and concepts. The following GET calls are available.

Cost groups

GET rights/v1/costGroups

This call returns all possible active values of the drop-down list CM2CostGroup.

Amortization rules

GET rights/v1/amortizationRules

This call returns all possible active values of the drop-down list Depreciation.

Amortization types

GET rights/v1/amortizationTypes

This call returns all supported types of the drop-down list CM2DepreciationType.

Cost channels

GET rights/v1/costChannels

This call returns all possible active values of the drop-down list WOnCostAllocationChannel.

Financial stock partitions

GET rights/v1/financialStockPartitions

This call returns all possible stock partitions in the designated navigator.

Response

All these calls return a list of the active values with their id (API reference) and their name (description).

Example of amortization types:

[
    {
        "id": "Run based percentage",
        "name": "Amortization per run in percentage"
    },
    {
        "id": "Run based value",
        "name": "Nominal amortization per run"
    },
    {
        "id": "Straight line",
        "name": "Straight-line amortization"
    },
    {
        "id": "noDepreciations",
        "name": "No amortizations"
    }
]